<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>后台管理中心</title>
<link href="./src/css/admincp.css" rel="stylesheet" type="text/css">
<link href="./src/css/uploadify.css" rel="stylesheet" type="text/css">
<script src="./src/js/common.js" type="text/javascript"></script>
<script src="./src/js/jquery.js" type="text/javascript"></script>
<script src="./editor/xheditor.js" type="text/javascript"></script>
<script>
function collapse_change(menucount)
{
	if ($('menu_' + menucount).style.display == 'none')
	{
		$('menu_' + menucount).style.display = '';
		$('menuimg_' + menucount).src = './src/img/menu_reduce.gif';
	}
	else
	{
		$('menu_' + menucount).style.display = 'none';
		$('menuimg_' + menucount).src = './src/img/menu_add.gif';
	}
}

function confirmPassword(form)
{
	if (form.passwordConfirm.value != form.password.value)
	{
		alert('两次输入的密码不一致！');
		form.passwordConfirm.focus();
		return false;
	}
	
	return true;
}

function confirmDelete(url)
{
	if (confirm('您真的要删除该记录吗？'))
		self.location = url;
}
</script>
</head>
<body>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="topmenubg">
	<tr>
		<td>
			<div class="logo"></div>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="150" valign="top">
<table border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;">
	<tr class="leftmenutext">
		<td>
			<a href="javascript:void(0);" onclick="collapse_change(3)" style="text-decoration: none;">
				<img id="menuimg_3" src="./src/img/menu_reduce.gif" border="0" />
				产品管理
			</a>
		</td>
	</tr>
	<tbody id="menu_3">
	<tr class="leftmenutd">
		<td>
			<table border="0" cellspacing="0" cellpadding="0" class="leftmenuinfo">
				<tr><td><a href="./?controller=account">产品列表</a></td></tr>
				<tr><td><a href="./?controller=account&action=days">产品天数列表</a></td></tr>
				<tr><td><a href="./?controller=account&action=account">账号列表</a></td></tr>
			</table>
		</td>
	</tr>
	</tbody>
</table>

<table border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;">
	<tr class="leftmenutext">
		<td>
			<a href="javascript:void(0);" onclick="collapse_change(4)" style="text-decoration: none;">
				<img id="menuimg_4" src="./src/img/menu_reduce.gif" border="0" />
				订单管理
			</a>
		</td>
	</tr>
	<tbody id="menu_4">
	<tr class="leftmenutd">
		<td>
			<table border="0" cellspacing="0" cellpadding="0" class="leftmenuinfo">
				<tr><td><a href="./?controller=order">订单列表</a></td></tr>
			</table>
		</td>
	</tr>
	</tbody>
</table>

<table border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;">
	<tr class="leftmenutext">
		<td>
			<a href="javascript:void(0);" onclick="collapse_change(5)" style="text-decoration: none;">
				<img id="menuimg_5" src="./src/img/menu_reduce.gif" border="0" />
				用户管理
			</a>
		</td>
	</tr>
	<tbody id="menu_5">
	<tr class="leftmenutd">
		<td>
			<table border="0" cellspacing="0" cellpadding="0" class="leftmenuinfo">
				<tr><td><a href="./?controller=vips">用户列表</a></td></tr>
			</table>
		</td>
	</tr>
	</tbody>
</table>

<?php if ($this->userInfo['groupid'] == 1) { ?>
<!-- 
<table border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;">
	<tr class="leftmenutext">
		<td>
			<a href="javascript:void(0);" onclick="collapse_change(1)" style="text-decoration: none;">
				<img id="menuimg_1" src="./src/img/menu_reduce.gif" border="0" />
				系统管理
			</a>
		</td>
	</tr>
	<tbody id="menu_1">
	<tr class="leftmenutd">
		<td>
			<table border="0" cellspacing="0" cellpadding="0" class="leftmenuinfo">
				<tr><td><a href="./?controller=log">日志管理</a></td></tr>
				<tr><td><a href="./?controller=user">用户管理</a></td></tr>
				<tr><td><a href="./?controller=group">群组管理</a></td></tr>
				<tr><td><a href="./?controller=acl">权限管理</a></td></tr>
				<tr><td><a href="./?controller=aclResource">权限对象管理</a></td></tr>
			</table>
		</td>
	</tr>
	</tbody>
</table>
 -->
<?php } ?>

<table border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;">
	<tr class="leftmenutext">
		<td>
			<a href="javascript:void(0);" onclick="collapse_change(2)" style="text-decoration: none;">
				<img id="menuimg_2" src="./src/img/menu_reduce.gif" border="0" />
				我的信息
			</a>
		</td>
	</tr>
	<tbody id="menu_2">
	<tr class="leftmenutd">
		<td>
			<table border="0" cellspacing="0" cellpadding="0" class="leftmenuinfo">
				<tr><td><a href="./?controller=userInfo&action=modify">修改资料</a></td></tr>
				<tr><td><a href="./?controller=userInfo&action=modifyPassword">修改密码</a></td></tr>
				<tr><td><a href="./?controller=logout">退出系统</a></td></tr>
			</table>
		</td>
	</tr>
	</tbody>
</table>

		</td>
		<td valign="top" style="padding-right: 8px;">
<?=$this->content?>
		</td>
	</tr>
</table>

</body>
</html>